package com.tttshaoqi.server.service;


import com.tttshaoqi.pojo.entity.User;

import java.util.Optional;

public interface UserService {
    User registerByPassword(String username, String phone, String rawPassword);
    String loginByPassword(String account, String rawPassword);
    Optional<User> findById(Long id);
}



